﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="CalendarioCurso.aspx.cs" Inherits="CursoUNICEUB.CalendarioCurso" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        Calendário do Curso
    </h1>
    <br />
    <asp:Repeater runat="server" ID="rptCalendarioAluno">
        <ItemTemplate>
            <div class="calendarioCurso">
                <asp:Label Font-Bold="true" Font-Underline="true" Text='<%# Eval("Numero", "{0:00}") %>'
                    ID="lblNumeroAula" runat="server" />
                -
                <asp:Label Font-Bold="true" Font-Underline="true" Text='<%# Eval("Data", "{0:d}") %>'
                    ID="lblDataAula" runat="server" />
                <br />
                <asp:Label Text='<%# Eval("Previsto") %>' ID="lblPrevisto" runat="server" />
            </div>
        </ItemTemplate>
    </asp:Repeater>
    <asp:Repeater runat="server" ID="rptCalendarioAdministrador">
        <ItemTemplate>
            <div class="calendarioCurso">
                <asp:Label Font-Bold="true" Font-Underline="true" Text='<%# Eval("Numero", "{0:00}") %>'
                    ID="lblNumeroAula" runat="server" />
                -
                <asp:Label Font-Bold="true" Font-Underline="true" Text='<%# Eval("Data", "{0:d}") %>'
                    ID="lblDataAula" runat="server" />
                <br />
                <asp:TextBox Height="60%" Width="85%" TextMode="MultiLine" Codigo='<%# Eval("Codigo") %>'
                    ID="txtPrevisto" Text='<%# Eval("Previsto") %>' runat="server" />
                <br />
                <asp:LinkButton Text="Salvar" runat="server" OnClick="btnSalvar_Click" CommandArgument='<%# Eval("Codigo") %>' />
            </div>
        </ItemTemplate>
    </asp:Repeater>
    <div style="clear: left" />
</asp:Content>
